package com.hsae.platform.str_obfuscate_plugin

import android.annotation.SuppressLint
import android.os.Bundle
import android.util.Log
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.hsae.mylibrary.MyLog

/**
 * Created by zhuyouyong@bm-intelligent.com on 2023/11/27.
 */
class MainAct : AppCompatActivity() {
    companion object {
        private const val TAG = "MainAct"
    }

    private val instanceTag = "$TAG@${hashCode()}"

    @SuppressLint("SetTextI18n")
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(TextView(this).apply {
            text = "Hello World!"
        })

        Log.d(TAG, "onCreate: $instanceTag")
        MyLog.d("onCreate: $instanceTag")
    }
}